package com.base.service.impl;

import com.base.mapper.voipmapper.CreditCardUserinfoMapper;
import com.base.po.creditcard.CreditCardUserinfo;
import com.base.po.creditcard.CreditCardUserinfoExample;
import com.base.service.CreditCardUserinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("creditCardUserinfoService")
public class CreditCardUserinfoServiceImpl implements CreditCardUserinfoService {

	@Autowired
	private CreditCardUserinfoMapper creditCardUserinfoMapper;


	@Override
	public int countByExample(CreditCardUserinfoExample example) {
		return creditCardUserinfoMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(CreditCardUserinfoExample example) {
		return creditCardUserinfoMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return creditCardUserinfoMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(CreditCardUserinfo record) {
		return creditCardUserinfoMapper.insert(record);
	}

	@Override
	public int insertSelective(CreditCardUserinfo record) {
		return creditCardUserinfoMapper.insertSelective(record);
	}

	@Override
	public List<CreditCardUserinfo> selectByExample(CreditCardUserinfoExample example) {
		return creditCardUserinfoMapper.selectByExample(example);
	}

	@Override
	public CreditCardUserinfo selectByPrimaryKey(Integer id) {
		return creditCardUserinfoMapper.selectByPrimaryKey(id);
	}

	@Override
	public CreditCardUserinfo selectByUserId(String userid) {
		return creditCardUserinfoMapper.selectByUserId(userid);
	}

	@Override
	public int updateByExampleSelective(CreditCardUserinfo record, CreditCardUserinfoExample example) {
		return creditCardUserinfoMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(CreditCardUserinfo record, CreditCardUserinfoExample example) {
		return creditCardUserinfoMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(CreditCardUserinfo record) {
		return creditCardUserinfoMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(CreditCardUserinfo record) {
		return creditCardUserinfoMapper.updateByPrimaryKey(record);
	}
}
